package com.whty.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.whty.common.base.BaseEntity;

/**
 * 园茶表 gh_garden
 * 
 * @author mario
 * @date 2018-10-26
 */
public class Garden extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private Integer id;
	/** 茶园编号 */
	private String teaGardenNo;
	/** 茶园名称 */
	private String gardenName;
	/** 法人代表 */
	private String legalPerson;
	/**  */
	private String phone;
	/** 生产地点 */
	private String productAdd;
	/** 茶园地址 */
	private String address;

	public void setId(Integer id) 
	{
		this.id = id;
	}

	public Integer getId() 
	{
		return id;
	}
	public void setTeaGardenNo(String teaGardenNo) 
	{
		this.teaGardenNo = teaGardenNo;
	}

	public String getTeaGardenNo() 
	{
		return teaGardenNo;
	}
	public void setGardenName(String gardenName) 
	{
		this.gardenName = gardenName;
	}

	public String getGardenName() 
	{
		return gardenName;
	}
	public void setLegalPerson(String legalPerson) 
	{
		this.legalPerson = legalPerson;
	}

	public String getLegalPerson() 
	{
		return legalPerson;
	}
	public void setPhone(String phone) 
	{
		this.phone = phone;
	}

	public String getPhone() 
	{
		return phone;
	}
	public void setProductAdd(String productAdd) 
	{
		this.productAdd = productAdd;
	}

	public String getProductAdd() 
	{
		return productAdd;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("teaGardenNo", getTeaGardenNo())
            .append("gardenName", getGardenName())
            .append("legalPerson", getLegalPerson())
            .append("phone", getPhone())
            .append("productAdd", getProductAdd())
            .append("address", getAddress())
            .toString();
    }
}
